<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Preferences - SWT &gt; GridLayout</title>
<link href="../../../book.css" rel="stylesheet" type="text/css">
</head>

<body><h1>Preferences - SWT &gt; Layouts &gt; GridLayout</h1>
<table border="0" width="800" cellspacing="0" cellpadding="0">
	<tr>
		<td><img src="images/preferences_gridlayout.gif"><p>This page is used to control various 
		<b>SWT&nbsp; &gt; Layouts &gt; GridLayout</b> options.</p>
		<h2>Use automatic horizontal/vertical grab</h2>
      <p>This preference controls whether new text-oriented widgets (<b>Text</b>,
		<b>Combo</b>, etc.) are set to grab horizontally when they are added 
		to the window and whether new <b>Table</b> and <b>Tree</b> widgets are 
		set to grab horizontally and vertically when they are added to the 
		window.<p>
	<img border="0" src="../../layoutmanagers/swt/images/gl_auto_grab1.gif" align="top">&nbsp;
	<img border="0" src="../../layoutmanagers/swt/images/gl_auto_grab2.gif" align="top"><h2>
		Automatically align right Label-like components before Text components</h2>
      <p>This preference controls whether <b>Labels</b> should be right aligned when 
		they are to the left of a <b>Text</b> or <b>Combo</b> widget.<p>
	<img border="0" src="../../layoutmanagers/swt/images/gl_auto_right_label1.gif" align="top">&nbsp;
	<img border="0" src="../../layoutmanagers/swt/images/gl_auto_right_label2.gif" align="top"></td>
	</tr>
</table>

</body></html>